<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
.STYLE1 {font-size: 12px}
.STYLE3 {font-size: 12px; font-weight: bold; }
.STYLE4 {
	color: #03515d;
	font-size: 12px;
}
-->
</style>

<script>
var  highlightcolor='#c1ebff';
//此处clickcolor只能用win系统颜色代码才能成功,如果用#xxxxxx的代码就不行,还没搞清楚为什么:(
var  clickcolor='#51b2f6';
function  changeto(){
source=event.srcElement;
if  (source.tagName=="TR"||source.tagName=="TABLE")
return;
while(source.tagName!="TD")
source=source.parentElement;
source=source.parentElement;
cs  =  source.children;
//alert(cs.length);
if  (cs[1].style.backgroundColor!=highlightcolor&&source.id!="nc"&&cs[1].style.backgroundColor!=clickcolor)
for(i=0;i<cs.length;i++){
	cs[i].style.backgroundColor=highlightcolor;
}
}

function  changeback(){
if  (event.fromElement.contains(event.toElement)||source.contains(event.toElement)||source.id=="nc")
return
if  (event.toElement!=source&&cs[1].style.backgroundColor!=clickcolor)
//source.style.backgroundColor=originalcolor
for(i=0;i<cs.length;i++){
	cs[i].style.backgroundColor="";
}
}

function  clickto(){
source=event.srcElement;
if  (source.tagName=="TR"||source.tagName=="TABLE")
return;
while(source.tagName!="TD")
source=source.parentElement;
source=source.parentElement;
cs  =  source.children;
//alert(cs.length);
if  (cs[1].style.backgroundColor!=clickcolor&&source.id!="nc")
for(i=0;i<cs.length;i++){
	cs[i].style.backgroundColor=clickcolor;
}
else
for(i=0;i<cs.length;i++){
	cs[i].style.backgroundColor="";
}
}
</script>

</head>

<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="30" background="tab/images/tab_05.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="12" height="30"><img src="tab/images/tab_03.gif" width="12" height="30" /></td>
        <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="46%" valign="middle"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="5%"><div align="center"><img src="tab/images/tb.gif" width="16" height="16" /></div></td>
                <td width="95%" class="STYLE1"><span class="STYLE3">你当前的位置</span>：[系统管理]-[权限分配]</td>
              </tr>
            </table></td>
            <td width="54%"><table border="0" align="right" cellpadding="0" cellspacing="0">
              <tr>
                <td width="60"><table width="87%" border="0" cellpadding="0" cellspacing="0">
                  <tr>
                    <td class="STYLE1"><div align="center">
                      <input type="checkbox" name="checkbox62" value="checkbox" />
                    </div></td>
                    <td class="STYLE1"><div align="center">全选</div></td>
                  </tr>
                </table></td>
                <td width="60"><table width="90%" border="0" cellpadding="0" cellspacing="0">
                  <tr>
                    <td class="STYLE1"><div align="center"><img src="tab/images/22.gif" width="14" height="14" /></div></td>
                    <td class="STYLE1"><div align="center">反选</div></td>
                  </tr>
                </table></td>
              </tr>
            </table></td>
          </tr>
        </table></td>
        <td width="16"><img src="tab/images/tab_07.gif" width="16" height="30" /></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <s:form action="adminAction!authorizationSave.action" method="post" theme="simple">
          <s:hidden name="authorization.id" />
      <tr>
        <td width="8" background="tab/images/tab_12.gif">&nbsp;</td>
        <td><table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="b5d6e6" onmouseover="changeto()"  onmouseout="changeback()">
          <tr>
            <td height="50" bgcolor="#FFFFFF" ><div align="center">管理员信息</div></td>
            <td height="50" bgcolor="#FFFFFF" colspan="4"><span class="STYLE1">名称：<s:property value="admin.realEname"/>&nbsp;&nbsp;&nbsp;登录名：<s:property value="admin.loginName"/> </span></td>
            
         </tr>
         
          <tr>
            <td height="20" bgcolor="#FFFFFF" rowspan="2"><div align="center">信息管理</div></td>
            <td height="20" bgcolor="#FFFFFF"><span class="STYLE1"><s:checkbox name="authorization.auth11"/>信息查询</span></td>
            <td height="20" bgcolor="#FFFFFF"><span class="STYLE1"><s:checkbox name="authorization.auth12"/>信息分类管理</span></td>
            <td height="20" bgcolor="#FFFFFF"><span class="STYLE1"><s:checkbox name="authorization.auth13"/>HTML信息创建</span></td>
            <td height="20" bgcolor="#FFFFFF"><span class="STYLE1"><s:checkbox name="authorization.auth14"/>图片信息创建</span></td>
         </tr>
         <tr>
            <td height="20" bgcolor="#FFFFFF"><span class="STYLE1"><s:checkbox name="authorization.auth15"/>视频信息创建</span></td>
            <td height="20" bgcolor="#FFFFFF"><span class="STYLE1"><s:checkbox name="authorization.auth16"/>等待发布</span></td>
            <td height="20" bgcolor="#FFFFFF"><span class="STYLE1"><s:checkbox name="authorization.auth17"/>已发信息</span></td>
            <td height="20" bgcolor="#FFFFFF"><span class="STYLE1"><s:checkbox name="authorization.auth18"/>删除记录</span></td>
         </tr>
         <tr>
            <td height="20" bgcolor="#FFFFFF" rowspan="2"><div align="center">互动管理</div></td>
            <td height="20" bgcolor="#FFFFFF"><span class="STYLE1"><s:checkbox name="authorization.auth21"/>等待审核</span></td>
            <td height="20" bgcolor="#FFFFFF"><span class="STYLE1"><s:checkbox name="authorization.auth22"/>通过审核</span></td>
            <td height="20" bgcolor="#FFFFFF"><span class="STYLE1"><s:checkbox name="authorization.auth23"/>话题管理</span></td>
            <td height="20" bgcolor="#FFFFFF"><span class="STYLE1"><s:checkbox name="authorization.auth24"/>发布话题</span></td>
         </tr>
          <tr>
            <td height="20" bgcolor="#FFFFFF"><span class="STYLE1"><s:checkbox name="authorization.auth25"/>删除记录</span></td>
            <td height="20" bgcolor="#FFFFFF"><span class="STYLE1">&nbsp;</span></div></td>
            <td height="20" bgcolor="#FFFFFF"><span class="STYLE1"> &nbsp;</span></div></td>
            <td height="20" bgcolor="#FFFFFF"><span class="STYLE1"> &nbsp;</span></td>
         </tr>
         <tr>
            <td height="20" bgcolor="#FFFFFF" ><div align="center">专家咨询</div></td>
            <td height="20" bgcolor="#FFFFFF"><span class="STYLE1"><s:checkbox name="authorization.auth71"/>未回复咨询</span></td>
            <td height="20" bgcolor="#FFFFFF"><span class="STYLE1"><s:checkbox name="authorization.auth72"/>已回复咨询</span></td>
            <td height="20" bgcolor="#FFFFFF"><span class="STYLE1"> &nbsp;</span></td>
            <td height="20" bgcolor="#FFFFFF"><span class="STYLE1"> &nbsp;</span></td>
         </tr>
         <tr>
            <td height="20" bgcolor="#FFFFFF"  ><div align="center">统计管理</div></td>
            <td height="20" bgcolor="#FFFFFF"><span class="STYLE1"><s:checkbox name="authorization.auth31"/>活跃用户统计</span></td>
            <td height="20" bgcolor="#FFFFFF"><span class="STYLE1"><s:checkbox name="authorization.auth32"/>注册用户统计</span></td>
            <td height="20" bgcolor="#FFFFFF"><span class="STYLE1"><s:checkbox name="authorization.auth33"/>用户综合统计</span></td>
            <td height="20" bgcolor="#FFFFFF"><span class="STYLE1"><s:checkbox name="authorization.auth34"/>信息访问量统计</span></td>
         </tr>
         <tr>
            <td height="20" bgcolor="#FFFFFF"  ><div align="center">系统管理</div></td>
            <td height="20" bgcolor="#FFFFFF"><span class="STYLE1"><s:checkbox name="authorization.auth41"/>系统配置</span></td>
            <td height="20" bgcolor="#FFFFFF"><span class="STYLE1"><s:checkbox name="authorization.auth42"/>管理员查询</span></td>
            <td height="20" bgcolor="#FFFFFF"><span class="STYLE1"><s:checkbox name="authorization.auth43"/>添加管理员</span></td>
            <td height="20" bgcolor="#FFFFFF"><span class="STYLE1">&nbsp;</span></td>
         </tr>
          <tr>
            <td height="20" bgcolor="#FFFFFF"  ><div align="center">客户端管理</div></td>
            <td height="20" bgcolor="#FFFFFF"><span class="STYLE1"><s:checkbox name="authorization.auth51"/>版本查询</span></td>
            <td height="20" bgcolor="#FFFFFF"><span class="STYLE1"><s:checkbox name="authorization.auth52"/>版本发布</span></td>
            <td height="20" bgcolor="#FFFFFF"><span class="STYLE1"><s:checkbox name="authorization.auth53"/>查询系统用户</span></td>
            <td height="20" bgcolor="#FFFFFF"><span class="STYLE1">&nbsp;</span></td>
         </tr>
         <tr>
            <td height="20" bgcolor="#FFFFFF"  ><div align="center">安全管理</div></td>
            <td height="20" bgcolor="#FFFFFF"><span class="STYLE1"><s:checkbox name="authorization.auth61"/>关键字过滤设置</span></td>
            <td height="20" bgcolor="#FFFFFF"><span class="STYLE1"><s:checkbox name="authorization.auth62"/>话题审核设置</span></td>
            <td height="20" bgcolor="#FFFFFF"><span class="STYLE1">&nbsp;</span></td>
            <td height="20" bgcolor="#FFFFFF"><span class="STYLE1">&nbsp;</span></td>
         </tr>
          <tr>
            <td height="50" bgcolor="#FFFFFF" colspan="5"  ><div align="center"><input type="submit"  value="保存"/>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="button"  value="返回" onclick="history.back();" /></div></td>
            
         </tr>
        </table></td>
        <td width="8" background="tab/images/tab_15.gif">&nbsp;</td>
      </tr></s:form>
    </table></td>
  </tr>
  <tr>
    <td height="35" background="tab/images/tab_19.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="12" height="35"><img src="tab/images/tab_18.gif" width="12" height="35" /></td>
        <td>&nbsp;</td>
        <td width="16"><img src="tab/images/tab_20.gif" width="16" height="35" /></td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
</html>
